package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报修申请对象 ho_repair_application
 *
 * @author ruoyi
 * @date 2025-01-10
 */
public class HoRepairApplication extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 学生ID
     */
    @Excel(name = "学生ID")
    private Long studentId;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 学号
     */
    @Excel(name = "学号")
    private String studentNum;

    /**
     * 宿舍ID
     */
    @Excel(name = "宿舍ID")
    private Long dormitoryId;

    /**
     * 报修时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /**
     * 报修项目
     */
    @Excel(name = "报修项目")
    private String repairProject;

    /**
     * 处理结果
     */
    @Excel(name = "处理结果")
    private String status;

    /**
     * 报修描述
     */
    @Excel(name = "报修描述")
    private String processingDescription;

    /**
     * 创建用户ID
     */
    @Excel(name = "创建用户ID")
    private Long createUserId;

    /**
     * 修改用户ID
     */
    @Excel(name = "修改用户ID")
    private Long updateUserId;

    /** 报修宿舍 */
    @Excel(name = "报修宿舍")
    private String label;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setStudentNum(String studentNum) {
        this.studentNum = studentNum;
    }

    public String getStudentNum() {
        return studentNum;
    }

    public void setDormitoryId(Long dormitoryId) {
        this.dormitoryId = dormitoryId;
    }

    public Long getDormitoryId() {
        return dormitoryId;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setRepairProject(String repairProject) {
        this.repairProject = repairProject;
    }

    public String getRepairProject() {
        return repairProject;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setProcessingDescription(String processingDescription) {
        this.processingDescription = processingDescription;
    }

    public String getProcessingDescription() {
        return processingDescription;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("studentId", getStudentId())
                .append("name", getName())
                .append("studentNum", getStudentNum())
                .append("dormitoryId", getDormitoryId())
                .append("reportTime", getReportTime())
                .append("repairProject", getRepairProject())
                .append("remark", getRemark())
                .append("status", getStatus())
                .append("processingDescription", getProcessingDescription())
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
